﻿#ifndef DIALOG_H
#define DIALOG_H
#include "Joystick3D.h"
#include <QDialog>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();
public slots:
    void MoveLeft();
    void MoveLeftStop();
    void MoveRight();
    void MoveRightStop();
    void MoveUp();
    void MoveUpStop();
    void MoveDown();
    void MoveDownStop();
    void MoveForward();
    void MoveForwardStop();
    void MoveBackward();
    void MoveBackwardStop();

private:
    Ui::Dialog *ui;
    JoystickThread * m_thread;

};

#endif // DIALOG_H
